package com.eke.bean;
import java.sql.Timestamp;
import com.jason.dbhelper2.annotations.Column;
import com.jason.dbhelper2.annotations.Table;
@Table("question_from")	
public class QuestionFrom{
	/**
	 * 
	 *
	 */
	@Column("user_name")	
	private String userName;
	/**
	 * 
	 *
	 */
	@Column("user_photo")	
	private String userPhoto;
	/**
	 * 
	 *
	 */
	@Column("article_id")	
	private Integer articleId;
	/**
	 * 
	 *
	 */
	@Column("article_title")	
	private String articleTitle;
	/**
	 * 
	 *
	 */
	@Column("release_time")	
	private Timestamp releaseTime;
	/**
	 * 
	 *
	 */
	@Column("comment_number")	
	private Integer commentNumber;
	/**
	 * 
	 *
	 */
	@Column("read_number")	
	private Integer readNumber;
	/**
	 * 
	 *
	 */
	@Column("article_state")	
	private Integer articleState;
	/**
	 * 
	 *
	 */
	@Column("type_value")	
	private String typeValue;
	/**
	 * 
	 *
	 */
	@Column("article_image")	
	private String articleImage;
	/**
	 * 
	 *
	 */
	@Column("article_content")	
	private String articleContent;
	
	@Column("question_state")	
	private Integer question_state;
	
	@Column("interal")	
	private Integer interal;
	public Integer getInteral() {
		return interal;
	}
	public void setInteral(Integer interal) {
		this.interal = interal;
	}
	public Integer getQuestion_state() {
		return question_state;
	}
	public void setQuestion_state(Integer question_state) {
		this.question_state = question_state;
	}
	public QuestionFrom(){
	}
	public QuestionFrom(String userName){
		this.userName=userName;
	}
	public QuestionFrom(String userName,String userPhoto){
		this.userName=userName;
		this.userPhoto=userPhoto;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber,Integer readNumber){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
		this.readNumber=readNumber;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber,Integer readNumber,Integer articleState){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
		this.readNumber=readNumber;
		this.articleState=articleState;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber,Integer readNumber,Integer articleState,String typeValue){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
		this.readNumber=readNumber;
		this.articleState=articleState;
		this.typeValue=typeValue;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber,Integer readNumber,Integer articleState,String typeValue,String articleImage){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
		this.readNumber=readNumber;
		this.articleState=articleState;
		this.typeValue=typeValue;
		this.articleImage=articleImage;
	}
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber,Integer readNumber,Integer articleState,String typeValue,String articleImage,String articleContent){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
		this.readNumber=readNumber;
		this.articleState=articleState;
		this.typeValue=typeValue;
		this.articleImage=articleImage;
		this.articleContent=articleContent;
	}
	
	
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber,Integer readNumber,Integer articleState,String typeValue,String articleImage,String articleContent,Integer question_state){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
		this.readNumber=readNumber;
		this.articleState=articleState;
		this.typeValue=typeValue;
		this.articleImage=articleImage;
		this.articleContent=articleContent;
		this.question_state= question_state;
	}
	
	public QuestionFrom(String userName,String userPhoto,Integer articleId,String articleTitle,Timestamp releaseTime,Integer commentNumber,Integer readNumber,Integer articleState,String typeValue,String articleImage,String articleContent,Integer question_state,Integer interal){
		this.userName=userName;
		this.userPhoto=userPhoto;
		this.articleId=articleId;
		this.articleTitle=articleTitle;
		this.releaseTime=releaseTime;
		this.commentNumber=commentNumber;
		this.readNumber=readNumber;
		this.articleState=articleState;
		this.typeValue=typeValue;
		this.articleImage=articleImage;
		this.articleContent=articleContent;
		this.question_state= question_state;
		this.interal= interal;
	}
	/**
	 * 获取
	 */
	public String getUserName(){
		return userName;
	}
	/**
	 * 设置
	 */
	public void setUserName(String userName){
		this.userName=userName;
	}
	/**
	 * 获取
	 */
	public String getUserPhoto(){
		return userPhoto;
	}
	/**
	 * 设置
	 */
	public void setUserPhoto(String userPhoto){
		this.userPhoto=userPhoto;
	}
	/**
	 * 获取
	 */
	public Integer getArticleId(){
		return articleId;
	}
	/**
	 * 设置
	 */
	public void setArticleId(Integer articleId){
		this.articleId=articleId;
	}
	/**
	 * 获取
	 */
	public String getArticleTitle(){
		return articleTitle;
	}
	/**
	 * 设置
	 */
	public void setArticleTitle(String articleTitle){
		this.articleTitle=articleTitle;
	}
	/**
	 * 获取
	 */
	public Timestamp getReleaseTime(){
		return releaseTime;
	}
	/**
	 * 设置
	 */
	public void setReleaseTime(Timestamp releaseTime){
		this.releaseTime=releaseTime;
	}
	/**
	 * 获取
	 */
	public Integer getCommentNumber(){
		return commentNumber;
	}
	/**
	 * 设置
	 */
	public void setCommentNumber(Integer commentNumber){
		this.commentNumber=commentNumber;
	}
	/**
	 * 获取
	 */
	public Integer getReadNumber(){
		return readNumber;
	}
	/**
	 * 设置
	 */
	public void setReadNumber(Integer readNumber){
		this.readNumber=readNumber;
	}
	/**
	 * 获取
	 */
	public Integer getArticleState(){
		return articleState;
	}
	/**
	 * 设置
	 */
	public void setArticleState(Integer articleState){
		this.articleState=articleState;
	}
	/**
	 * 获取
	 */
	public String getTypeValue(){
		return typeValue;
	}
	/**
	 * 设置
	 */
	public void setTypeValue(String typeValue){
		this.typeValue=typeValue;
	}
	/**
	 * 获取
	 */
	public String getArticleImage(){
		return articleImage;
	}
	/**
	 * 设置
	 */
	public void setArticleImage(String articleImage){
		this.articleImage=articleImage;
	}
	/**
	 * 获取
	 */
	public String getArticleContent(){
		return articleContent;
	}
	/**
	 * 设置
	 */
	public void setArticleContent(String articleContent){
		this.articleContent=articleContent;
	}
	
		

	@Override
	public String toString() {
		return "QuestionFrom [userName=" + userName+",userPhoto=" + userPhoto+",articleId=" + articleId+",articleTitle=" + articleTitle+",releaseTime=" + releaseTime+",commentNumber=" + commentNumber+",readNumber=" + readNumber+",articleState=" + articleState+",typeValue=" + typeValue+",articleImage=" + articleImage+",articleContent=" + articleContent+",question_state="+question_state+",interal="+interal+"]";
	}





}